// export interface Picture {
//     name: string;
//     url: string;
// }

export interface Setting {
    images: Picture[];
    sizeWrap: string[];
    sizeImage: string[];
    unit: 'px' | 'percent';
    lazyLoad: number;
    listenerJumpIndex?: (page: number) => void;
    listenerReady?: () => void;
}

export type Picture = string;

export const NAME = {
    CSS_LOADING: 'pz-loading',
    CSS_PICS: 'pz-pics',
    CSS_PIC: 'pz-pic',
    CSS_CONTROL: 'pz-control',
    CSS_ITEM: 'pz-item'
}

export const EASING = [0, 0.034, 0.067, 0.1, 0.131, 0.16, 0.194, 0.224, 0.253, 0.282,
    0.311, 0.339, 0.366, 0.393, 0.419, 0.444, 0.469, 0.494,
    0.518, 0.541, 0.564, 0.586, 0.607, 0.628, 0.649, 0.668,
    0.688, 0.706, 0.724, 0.742, 0.759, 0.775, 0.791, 0.806,
    0.821, 0.835, 0.849, 0.861, 0.874, 0.886, 0.897, 0.907,
    0.917, 0.927, 0.936, 0.944, 0.952, 0.959, 0.966, 0.972,
    0.977, 0.982, 0.986, 0.99, 0.993, 0.996, 0.998, 0.999, 1, 1];

export const WIDTHLOADING = 500;
export const WIDTHSPLITER = 30;
